import request from "@/axios/request";
// 全部会员级别
export function complete(params) {
  return request({
    method: "POST",
    url: "/levels/complete",
    params,
  });
}
// 会员添加省份的价钱
export function memberPrice(params) {
  return request({
    method: "POST",
    url: "/Levels/price_add",
    params,
  });
}
// 会员购买对应的价格
export function memberPrices(params) {
  return request({
    method: "POST",
    url: "/Levels/member_buy_price",
    params,
  });
}

// 微信支付
export function weChatPayment(params) {
  return request({
    method: "POST",
    url: "/pay/wechat",
    params,
  });
}
// 支付宝支付
export function alipayPayment(params) {
  return request({
    method: "POST",
    url: "/pay/alipay",
    params,
  });
}
// 验证劵
// testVerify
export function testVerify(params) {
  return request({
    method: "POST",
    url: "/Levels/member_checked",
    params,
  });
}
// 导出
export function exportPost(params) {
  return request({
    method: "GET",
    url: "/read/export",
    params,
  });
}
//收藏
export function collect(params) {
  return request({
    method: "POST",
    url: "/Collect/add",
    params,
  });
}
//取消收藏
export function cancelFavorite(params) {
  return request({
    method: "POST",
    url: "/Collect/cancel",
    params,
  });
}
//是否收藏
export function bookmark(params) {
  return request({
    method: "POST",
    url: "/Collect/is_coll",
    params,
  });
}
//处理列表
export function processingList(params) {
  return request({
    method: "POST",
    url: "/Schedules/list",
    params,
  });
}
//新建处理
export function newProcessing(params) {
  return request({
    method: "POST",
    url: "/Schedules/add",
    params,
  });
}
//订阅公司
export function Bxsubscription(params) {
  return request({
    method: "POST",
    url: "/Bxsubscription/add",
    params,
  });
}
//修改处理
export function edit(params) {
  return request({
    method: "POST",
    url: "/Schedules/edit",
    params,
  });
}

//客服微信
export function contact_img(params) {
  return request({
    method: "POST",
    url: "Levels/contact_img",
    params,
  });
}

//热点医院
export function Hospital(params) {
  return request({
    method: "POST",
    url: "Hospital/hot_search",
    params,
  });
}

export function detail(params) {
  return request({
    method: "POST",
    url: "/read/detail",
    params,
  });
}

export function orderNobypayStatus(params) {
  return request({
    method: "POST",
    url: "/pay/orderNobypayStatus",
    params,
  });
}
export function infoid_read(params) {
  return request({
    method: "POST",
    url: "/read/infoid_read",
    params,
  });
}
//详情公告内容
export function detail_content(params) {
  return request({
    method: "POST",
    url: "/read/detail_content",
    params,
  });
}